// Decompiled by DJ v3.11.11.95 Copyright 2009 Atanas Neshkov  Date: 1/30/2010 10:57:55 PM
// Home Page: http://members.fortunecity.com/neshkov/dj.html  http://www.neshkov.com/dj.html - Check often for new version!
// Decompiler options: packimports(3) 
// Source File Name:   MazeFrame.java

import javax.swing.JCheckBox;
import javax.swing.JRadioButton;

public class MazeFrame$MazeGenerationThread extends Thread
{

    public void run()
    {
        MazeFrame.access$000(MazeFrame.this).setCurrentSolution(null);
        MazeFrame.access$100(MazeFrame.this);
        MazeFrame.access$000(MazeFrame.this).setAnimateGeneration(MazeFrame.access$200(MazeFrame.this).isSelected());
        byte byte0;
        if(MazeFrame.access$300(MazeFrame.this).isSelected())
            byte0 = 10;
        else
        if(MazeFrame.access$400(MazeFrame.this).isSelected())
            byte0 = 20;
        else
            byte0 = 30;
        Maze maze = generator.generateMaze(byte0, byte0, MazeFrame.access$000(MazeFrame.this));
        MazeFrame.access$000(MazeFrame.this).setCurrentMaze(maze);
        MazeFrame.access$500(MazeFrame.this);
    }

    private MazeGenerator generator;

    public MazeFrame$MazeGenerationThread(MazeGenerator mazegenerator)
    {
        generator = mazegenerator;
    }
}
